import Element.*;
import Mediator.*;

public class Main {
    public static void main(String[] args) {


        Element a = new InputBox();
        SpecificMediator mediator = new SpecificMediator();
        //创建具体中介者
        a.setMediator(mediator);
        mediator.setAddButton(new ActionButton());
        mediator.setItemList(new ItemList());
        mediator.setDropdown(new Dropdown());
        mediator.setUserInputBox(new InputBox());
        a.modified();

    }
}